Conversation
| fill="gray", | ||
| wall_pen="0.5p,black", | ||
| yzfill="red", | ||
| xzfill="green", | ||
| xyfill="blue", |
There was a problem hiding this comment.
I believe if all three of yzfill, xzfill and xyfill are used, fill will not have an effect.
There was a problem hiding this comment.
Yes, fill sets the fill of the three back-faces but can be overridden by yzfill/xzfill/xyfill. We need to improve the docstring to clarify it.
Actually, as a non-native English speaker, I don't know the standard terminology to describe the elements of a cube. Currently, we describe them as "frontground lines", "outlines of x-z and y-z planes", "yz-plane"/"xz-plane"/"xy-plane", but it seems in standard terminology, they should be called faces (front face? back face?), and edges.
I like |
This PR adds parameters for -B modifiers related to 3-D plots:
+b:box+w:wall_pen+x:yzfill+y:xzfill+z:xyfillGMT uses
penfor+b(xref: https://github.com/GenericMappingTools/gmt/blob/ac580b28da697232ae21cfa2ec102610572af2d8/src/gmt_common_longoptions.h#L72), but I feelpenis too general, and it's also a little misleading because it only sets pen for x-z and y-z planes, not the frame pen for the x-y plane.Example
Related to #4588